<?php

Yii::import('application.models._base.BaseAuctionFee');


class AuctionFee extends BaseAuctionFee
{
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}
		
	public $value_price    = 0;
	public $auction_fee    = 0;
	public $shipping_fee   = 0;
	public $billing_fee    = 0;
	
	public function rules(){
	    return array(
	        array('value_price,auction_fee,shipping_fee,billing_fee,bids,bonus_bid,autobid_startprice','HashAttribute'),
	        array('fee_name','HashNameAttribute'),
	        array('fee_value','HashValueAttribute'),
	        array('auction_id','HashPrimaryAttribute')
	    );
	}
}